home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18449 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.ruhr-uni-bochum.de!usenet
  2. From: Karsten Soete <Karsten.Soete@rz.ruhr-uni-bochum.de>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Sorting code
  5. Date: 20 Apr 1996 17:29:33 GMT
  6. Organization: Ruhr-Universitaet Bochum, Rechenzentrum
  7. Message-ID: <4lb6tt$kjm@sun168.rz.ruhr-uni-bochum.de>
  8. NNTP-Posting-Host: dialslip-24.rz.ruhr-uni-bochum.de
  9.  
  10. peter@pmorton.demon.co.uk (Peter Morton) schreibt:
  11. > Hi,
  12. > I'm currently studying in my first year.  The examination in June is
  13. > likely to include an example of a sort which will have to be worked
  14. > through to show the array and variable values after each pass through
  15. > the loop.  In order to get some practice in,  I am hoping that someone
  16. > can give me some direction as to what kind of sorts I should be
  17. > looking at.  The ones covered so far are insertion and bubble.  I do
  18. > have a book on sorting and searching but this is very mathematically
  19. > based;  all I want is the code for a few to work through myself.
  20. > Any help/pointers to other sources appreciated.
  21. > regards,
  22. > Pete,        Ryton, Tyne & Wear, UK
  23.  
  24. Try the books of Robert Sedgewick, Alogorithms, Algorithms in C or
  25. Algorithms in C++ published by Addison Wesley. They are the bibles
  26. of fundamental algorithms and should be available at the library
  27. of any unversity. If not, it would be an godd advise to buy them.
  28.  
  29.                             AnimalOnLine
  30.                               Let's go berzerk!
  31.